import React, { Component } from 'react'

class Appson extends Component {
    fnfa(){
        this.props.fnsend("我是子组件传递给父组件得数句")
    }
  render() {
    console.log(this.props)
    return (
      <div>
        <button onClick={this.fnfa.bind(this)}>点击我调用父组件得方法</button>
        <span>我是父组件传过来的数据{this.props.send}</span>
      </div>
    )
  }
}

export default Appson